﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPMS.Commons.Configuration
{
    /// <summary>
    /// 配置属性接口
    /// </summary>
    /// <remarks></remarks>
    /// <history>
    /// [zanezeng]   2008-11-13 11:21    Created
    /// </history>
    public interface IConfigurationAttribute
    {
        /// <summary>
        /// 获得当前配置属性所属的配置节点
        /// </summary>
        /// <value>当前配置属性所属的配置节点</value>
        /// <remarks></remarks>
        /// <history>
        /// [zanezeng]   2008-11-13 11:37    Created
        /// </history>
        IConfigurationNode Node
        {
            get;
        }

        /// <summary>
        /// 获得当前配置属性的名称
        /// </summary>
        /// <value>当前配置属性的名称</value>
        /// <remarks></remarks>
        /// <history>
        /// [zanezeng]   2008-11-13 11:38    Created
        /// </history>
        string Name
        {
            get;
        }

        /// <summary>
        /// 获得当前属性的值
        /// </summary>
        /// <value>当前属性的值</value>
        /// <remarks></remarks>
        /// <history>
        /// [zanezeng]   2008-11-13 11:39    Created
        /// </history>
        string Value
        {
            get;
        }
    }
}
